{% extends "admin/base_site.html" %}
{% load i18n admin_modify adminmedia admin_display %}

{% block extrahead %}{{ block.super }}
<style type="text/css">

.oddrow2 {background-color:#FFFFFF;border: 1px solid black}
.oddrow {background-color:#436EC3;border: 1px solid black}
#titulo  {background-color:#556993;color:#000000;border: 1px solid black}
</style>
<script type="text/javascript" src="../../../jsi18n/"></script>
<script type = "text/javascript">
$(function(){
  $("table.tiger-stripe tr:even").addClass("oddrow");
  $("table.tiger-stripe tr:odd").addClass("oddrow2");
});

</script>


{{ media }}
{% endblock %}
{% load cheques_tags %}
{% block stylesheet %}{% admin_media_prefix %}css/forms.css{% endblock %}

{% block coltype %}{% if ordered_objects %}colMS{% else %}colM{% endif %}{% endblock %}

{% block bodyclass %}{{ opts.app_label }}-{{ opts.object_name.lower }} change-form{% endblock %}



{% block breadcrumbs %}{% if not is_popup %}
<div class="breadcrumbs">
     <a href="../">{% trans "Home" %}</a> &rsaquo;
     <a href="../">{{ opts.verbose_name_plural|capfirst }}</a> &rsaquo;
     {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %}
</div>
{% endif %}{% endblock %}

{% block content %}<div id="content-main">
{% block object-tools %}
{% if not is_popup %}
 
  <ul class="object-tools">
  	<li><a href="../" class="backlink">Volver</a></li>
  	{% if has_absolute_url %}<li><a href="../../../r/{{ content_type_id }}/{{ object_id }}/" class="viewsitelink">{% trans "View on site" %}</a></li>{% endif%}
	
</ul>
{% endif %}
<form action="." method="POST">
<div><table>
{{form.as_table}}

<tr><td><input type="submit" value="Listar"></td></tr>
</table>
</form>
</div>
<div>
<table class="tiger-stripe" rules = cols >
<tr BORDERCOLOR=black id=titulo>
{% for d in select %}
<td><b>{{d}}</b></td>
{% endfor %}
</tr>
{% for ce in fact %}
<tr>
{% for f in select %}
<td> {% get_at ce f %} </td>
{% endfor %}
</tr>
{% endfor %}

</table>
</div>
<div>

</div>
{% endblock %}
<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post" id="{{ opts.module_name }}_form">{% block form_top %}{% endblock %}
</form></div>
{% endblock %}
